package StudyCode.summary.mydatetime;

import java.util.Calendar;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class GetCalendarHMS {
	public static void main(String[] args) {
		Calendar calendar = Calendar.getInstance();
		System.out.println(calendar.get(Calendar.HOUR) + ":" + calendar.get(Calendar.MINUTE) + ":" + calendar.get(Calendar.SECOND));
	}
}
